﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	Width="700" Height="435" >

		<Canvas Width="700" Height="435" Background="#8D304C89">
		<Image x:Name="bg" Width="700" Height="435" Source="硬盘/img/bj-bot-b.jpg" Stretch="Fill"/>
<Grid Height="40" Width="693" Canvas.Left="4" Canvas.Top="3">
<TextBlock Text="自动校准设置" Width="140" Height="25" FontSize="18" TextAlignment="Center" Foreground="#4DACD8" FontWeight="Normal" FontFamily="Arial" >	
</TextBlock>
</Grid>
<Grid Height="55" Width="383" Canvas.Left="147" Canvas.Top="101">
<Grid.RowDefinitions>     
    	<RowDefinition Height="55" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
	    <ColumnDefinition Width="150" />
		<ColumnDefinition Width="200" />
	    <ColumnDefinition Width="*" />	
	</Grid.ColumnDefinitions>
	 <Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="0" >
			<TextBlock Height="30" Text="校准开始日期：" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" /></Border>
  	 <Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="1" >
	 	<Border BorderThickness="1,1,1,1" BorderBrush="#217499" Background="#217499" >
		<Grid>
		<Grid.RowDefinitions>  
		   <RowDefinition Height="5" />
    		<RowDefinition Height="45" />
    	</Grid.RowDefinitions>
	    <Grid.ColumnDefinitions>
		   	<ColumnDefinition Width="20" />
		    <ColumnDefinition Width="60" />
			<ColumnDefinition Width="10" />
		    <ColumnDefinition Width="40" />
			<ColumnDefinition Width="10" />
			<ColumnDefinition Width="40" />
			<ColumnDefinition Width="20" />
		</Grid.ColumnDefinitions>
			<Border x:Name="YearBorder" Grid.Row="1" Grid.Column="1" BorderThickness="1" BorderBrush="#217499" Background="#217499" />
			<Border x:Name="MonthBorder" Grid.Row="1" Grid.Column="3" BorderThickness="1" BorderBrush="#217499" Background="#217499" />
			<Border x:Name="DayBorder" Grid.Row="1" Grid.Column="5" BorderThickness="1" BorderBrush="#217499" Background="#217499" />
			<TextBlock Grid.Row="1" Grid.Column="1" Height="30" Text="2013" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" x:Name="YearBlock" />
			<TextBlock Grid.Row="1" Grid.Column="2" Height="30" Text="/" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" />
			<TextBlock Grid.Row="1" Grid.Column="3" Height="30" Text="01" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" x:Name="MonthBlock" />
			<TextBlock Grid.Row="1" Grid.Column="4" Height="30" Text="/" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" />
			<TextBlock Grid.Row="1" Grid.Column="5" Height="30" Text="31" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" x:Name="DayBlock" />
			
		</Grid>
		</Border>
	</Border>  			
</Grid>
<Grid Height="55" Width="383" Canvas.Left="147" Canvas.Top="162">
<Grid.RowDefinitions>     
    	<RowDefinition Height="55" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
	    <ColumnDefinition Width="150" />
		<ColumnDefinition Width="200" />
	    <ColumnDefinition Width="*" />	
	</Grid.ColumnDefinitions>
	 <Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="0" >
			<TextBlock Height="30" Text="校准开始时间：" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" /></Border>
  	 <Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="1" >
	 	<Border BorderThickness="1,1,1,1" BorderBrush="#217499" Background="#217499" >
		<Grid>
		<Grid.RowDefinitions>  
			<RowDefinition Height="5" />   
    		<RowDefinition Height="45" />
    	</Grid.RowDefinitions>
	    <Grid.ColumnDefinitions>
		   	<ColumnDefinition Width="40" />
		    <ColumnDefinition Width="40" />
			<ColumnDefinition Width="10" />
		    <ColumnDefinition Width="40" />
			<ColumnDefinition Width="10" />
			<ColumnDefinition Width="40" />
			<ColumnDefinition Width="20" />
		</Grid.ColumnDefinitions>
			<Border x:Name="HourBorder" Grid.Row="1" Grid.Column="1" BorderThickness="1" BorderBrush="#217499" Background="#217499" />
			<Border x:Name="minuteBorder" Grid.Row="1" Grid.Column="3" BorderThickness="1" BorderBrush="#217499" Background="#217499" />
			<Border x:Name="secondBorder" Grid.Row="1" Grid.Column="5" BorderThickness="1" BorderBrush="#217499" Background="#217499" />
			
			<TextBlock Grid.Row="1" Grid.Column="1" Height="30" Text="23" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" x:Name="HourBlock" />
			<TextBlock Grid.Row="1" Grid.Column="2" Height="30" Text=":" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" />
			<TextBlock Grid.Row="1" Grid.Column="3" Height="30" Text="01" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" x:Name="minuteBlock" />
			<TextBlock Grid.Row="1" Grid.Column="4" Height="30" Text=":" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" />
			<TextBlock Grid.Row="1" Grid.Column="5" Height="30" Text="31" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" x:Name="secondBlock" />
			
		</Grid>
		</Border>
	</Border>  			
</Grid>
<Grid Height="55" Width="383" Canvas.Left="147" Canvas.Top="223">
<Grid.RowDefinitions>     
    	<RowDefinition Height="55" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
	    <ColumnDefinition Width="150" />
		<ColumnDefinition Width="200" />
	    <ColumnDefinition Width="*" />	
	</Grid.ColumnDefinitions>
	 <Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="0" >
			<TextBlock Height="30" Text="校准时间间隔：" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" /></Border>
  	 <Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="1" >
	 	<Border BorderThickness="1,1,1,1" BorderBrush="#217499" Background="#217499" >
		<Grid>
		<Grid.RowDefinitions>  
			<RowDefinition Height="5" />   
    		<RowDefinition Height="45" />
    	</Grid.RowDefinitions>
	    <Grid.ColumnDefinitions>
		   	<ColumnDefinition Width="20" />
		    <ColumnDefinition Width="70" />
			<ColumnDefinition Width="80" />		    
			<ColumnDefinition Width="20" />
		</Grid.ColumnDefinitions>
			<Border x:Name="CalibrateCrcBorder" Grid.Row="1" Grid.Column="1" BorderThickness="1" BorderBrush="#217499" Background="#217499" />
		
			<TextBlock x:Name="CalibrateCrcBlock" Grid.Row="1" Grid.Column="1" Height="30" Text="24" TextAlignment="Right" FontSize="20" Foreground="#FFFFFFFF"  />
			<TextBlock Grid.Row="1" Grid.Column="2" Height="30" Text=" 小时" TextAlignment="Left" FontSize="20" Foreground="#FFFFFFFF" />
			
		</Grid>
		</Border>
	</Border>
  			
</Grid>

<Grid Height="55" Width="500" Canvas.Left="44" Canvas.Top="285">
<Grid.RowDefinitions>     
    	<RowDefinition Height="55" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
	    <ColumnDefinition Width="*" />
	    <ColumnDefinition Width="100" />
		<ColumnDefinition Width="10" />
		<ColumnDefinition Width="100" />
	    <ColumnDefinition Width="30" />
		<ColumnDefinition Width="100" />
	    <ColumnDefinition Width="*" />	
	</Grid.ColumnDefinitions>
	<Border Grid.Row="1"  BorderThickness="1,1,1,1" Grid.Column="0" ></Border>
    <Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="3" Background="#217499" BorderBrush="#217499" >
		<Button x:Name="OKBorder" BorderThickness="1000" BorderBrush="#217499" >
			<TextBlock Height="30" Text="确定" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" />
		</Button>
	</Border>
	<Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="5" Background="#217499" BorderBrush="#217499" >
		<Button x:Name="CancelBorder" BorderThickness="1000" BorderBrush="#ff0000" Background="#FF000000"  >
			<TextBlock Height="30" Text="取消" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" />
		</Button>
	</Border>
            
</Grid>
<Grid Height="66" Width="660" Canvas.Left="21" Canvas.Top="346" x:Name="Numboard">
	<Grid.RowDefinitions>     
    	<RowDefinition Height="66" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
	    <ColumnDefinition Width="66" />
		<ColumnDefinition Width="66" />
		<ColumnDefinition Width="66" />
	    <ColumnDefinition Width="66" />
		<ColumnDefinition Width="66" />
		<ColumnDefinition Width="66" />       
		<ColumnDefinition Width="66" />
		<ColumnDefinition Width="66" />
		<ColumnDefinition Width="66" />
	    <ColumnDefinition Width="66" />
        
     </Grid.ColumnDefinitions>
	 		<Border Grid.Row="1"  BorderThickness="1,1,1,1" Grid.Column="0" BorderBrush="#217499" Background="#217499">
			<Button BorderBrush="#115A7B"  Height="60" Width="60"  BorderThickness="1000"  x:Name="dateDayNum1">
			<Border Height="60" Width="60"><TextBlock Height="30" Text="1" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" />
			</Border>
			</Button>
			</Border>
            <Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="1" BorderBrush="#217499" Background="#217499">
			<Button BorderBrush="#115A7B" Height="60" Width="60"  BorderThickness="1000" x:Name="dateDayNum2">
			<Border Height="60" Width="60"><TextBlock Height="30" Text="2" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" />
			</Border>
			</Button>
			</Border>
  			<Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="2" BorderBrush="#217499" Background="#217499"><Button BorderBrush="#115A7B" BorderThickness="1000" x:Name="dateDayNum3">
			<Border Height="60" Width="60"><TextBlock Height="30" Text="3" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" /></Border></Button></Border>
            <Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="3" BorderBrush="#217499" Background="#217499"><Button BorderBrush="#115A7B" BorderThickness="1000" x:Name="dateDayNum4">
			<Border Height="60" Width="60"><TextBlock Height="30" Text="4" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" /></Border></Button></Border>
  			<Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="4" BorderBrush="#217499" Background="#217499"><Button BorderBrush="#115A7B" BorderThickness="1000" x:Name="dateDayNum5">
			<Border Height="60" Width="60"><TextBlock Height="30" Text="5" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" /></Border></Button></Border>
            <Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="5" BorderBrush="#217499" Background="#217499"><Button BorderBrush="#115A7B" BorderThickness="1000" x:Name="dateDayNum6">
			<Border Height="60" Width="60"><TextBlock Height="30" Text="6" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" /></Border></Button></Border>
  			<Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="6" BorderBrush="#217499" Background="#217499"><Button BorderBrush="#115A7B" BorderThickness="1000" x:Name="dateDayNum7">
			<Border Height="60" Width="60"><TextBlock Height="30" Text="7" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" /></Border></Button></Border>
  			<Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="7" BorderBrush="#217499" Background="#217499"><Button BorderBrush="#115A7B" BorderThickness="1000" x:Name="dateDayNum8">
			<Border Height="60" Width="60"><TextBlock Height="30" Text="8" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" /></Border></Button></Border>
            <Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="8" BorderBrush="#217499" Background="#217499"><Button BorderBrush="#115A7B" BorderThickness="1000" x:Name="dateDayNum9">
			<Border Height="60" Width="60"><TextBlock Height="30" Text="9" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" /></Border></Button></Border>
  			<Border Grid.Row="1"  BorderThickness="0,1,1,1" Grid.Column="9" BorderBrush="#217499" Background="#217499"><Button BorderBrush="#115A7B" BorderThickness="1000" x:Name="dateDayNum10">
			<Border Height="60" Width="60"><TextBlock Height="30" Text="0" TextAlignment="Center" FontSize="20" Foreground="#FFFFFFFF" /></Border></Button></Border>
          
</Grid>
<CheckBox Height="46" Width="255" Canvas.Left="155" Canvas.Top="63" Content="启动自动校准" Foreground="#FFFDFDFD" FontSize="20" x:Name="AutoEnableButton"/>
		
	</Canvas>	
</UserControl>